package com.heima.comment.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 文章信息表，存储已发布的文章
 * </p>
 *
 * @author HM
 * @since 2023-04-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ApCommentShow对象", description = "文章信息表，存储已发布的文章")
public class ApCommentShow implements Serializable {

    /**
     * 评论展示主键id
     */
    @ApiModelProperty(value = "评论展示主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 评论Id
     */
    @ApiModelProperty(value = "评论id")
    private Integer commentId;

    /**
     * 评论用户id
     */
    @ApiModelProperty(value = "评论用户Id")
    private Integer commentUserId;

    /**
     * 是否已评论 1-是 0否
     */
    @ApiModelProperty(value = "是否已评论 1-是 0否")
    private Boolean isReply;

    /**
     * 是否已点赞 1-是 0否
     */
    @ApiModelProperty(value = "是否已点赞 1-是 0否")
    private Boolean isGiveUp;


}
